<!--imei列表--> 
       
  <form name="searchform" method="get" >
    <table width="100%" cellspacing="0" class="search_form">
        <tbody>
            <tr>
                <td>
                <div class="explain_col">
                    <input type="hidden" name="g" value="admin" />
                    <input type="hidden" name="m" value="padSim" />
                    <input type="hidden" name="a" value="index" />
                    <input type="hidden" name="menuid" value="{$menuid}" />
                    <input type="hidden" name="type" value="{$type}" />
					&nbsp;&nbsp;sim :                    
					<input type="text" name="sim" class="input-text" size="22" value="{$search.sim}" />
					&nbsp;&nbsp;sim_code :                    
					<input type="text" name="simSn" class="input-text" size="22" value="{$search.simSn}" />                    
                    <input type="submit" name="search" class="btn" value="搜索" />
					
                </div>
                </td>
            </tr>
        </tbody>
    </table>
    </form>
          
    <div class="J_tablelist table_list" data-acturi="{:U('admin/ajax_edit')}">
        <table width="100%" cellspacing="0">
            <thead>
            <tr>
                <th width="40">ID</th>
                <th align="center">sim</th>
                <th align="center">sim_sn</th>           
                <th align="center">
                <if condition="$type eq 'ajax'">
                    {:L('operations_manage')}
                <else/>
                    {:L('status')}
                </if>
                </th>                
            </tr>
            </thead>
    	    <tbody>
            <volist name="list" id="val" >
            <tr>
                
                <td align="center">{$val.id}</td>
                <td align="center">{$val.sim}</td>  
                <td align="center">{$val.simSn}</td>                           
                <td align="center">   
                    <if condition="$type eq 'ajax'">
                       <a href="javascript:void(0)" onclick="parent.select_sim_click('{$val.sim}')"  >选择并返回</a> 
                    <else/>                  
                    <notempty name="val[admin][realName]">
                        {:L('is_band')}({$val.admin.realName})
                    <else/>
                        {:L('is_not_band')}
                    </notempty> 
                    </if>            
                </td>
            </tr>
            </volist>
    	   </tbody>
        </table>
    </div>
    <div class="btn_wrap_fixed">
				<div id="pages">{$page}</div>
    </div>
<script>
function select_sim_clidk(v){
    $("#sim_con").val(v);
    //$.dialog.get("select_sim").close();    
}
</script>